package example.springtrans.service;

import example.springtrans.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName UserService
 * @Description TODO
 * @Author ZJX
 * @Date 2024/9/2 22:35
 * @Version 1.0
 */
@Service
public class UserService {

    @Autowired
    private UserInfoMapper mapper;

    public Integer insert(String userName,String password) {
        return mapper.insert(userName,password);
    }
}
